package com.example.service.impl;

import com.example.dao.RolePermDao;
import com.example.pojo.RolePerm;
import com.example.service.RolePermService;

import java.util.List;

public class RolePermServiceImpl extends BaseImpl<RolePermDao> implements RolePermService {
    @Override
    public int add(RolePerm rolePerm) {
        return mapper.add(rolePerm);
    }

    @Override
    public int delete(RolePerm rolePerm) {
        return mapper.delete(rolePerm);
    }

    @Override
    public List<RolePerm> find(int roleId) {
        return mapper.find(roleId);
    }
}
